// 若要修改state的值就将操作放入此文件

export default { //存全局变量
    state: {
       router_name: "menu",
    },
    getters: {
    },
    mutations: { //修改数据
        updateRouterName(state, router_name) { // 当后端与前端的websocket成功连接后更新数据
            state.router_name = router_name;
        }
    },
    actions: {
    },

    modules: {
    }
}